package com.gjsrmyy.edi;

import com.gjsrmyy.edi.quartz.EveryDayJob;
import com.gjsrmyy.edi.quartz.PerMinuteJob;
import com.gjsrmyy.edi.quartz.QuartzManager;


public class EdiApplication {

    public static void main(String[] args) {

        String job_name_everyDay = "每日任务";
        QuartzManager.addJob(job_name_everyDay, EveryDayJob.class, "0 0 19 * * ?");

        String job_name_perMinuteJob = "每分钟任务";
        QuartzManager.addJob(job_name_perMinuteJob, PerMinuteJob.class, "0 */1 * * * ?");

    }
}
